﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="BtsAdminConfiguration">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Hosts">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="Host">
                <xs:complexType>
                  <xs:attribute name="hostname" type="xs:string" use="required" />
                  <xs:attribute name="ntgroupname" type="xs:string" use="required" />
                  <xs:attribute name="isdefault" type="xs:boolean" use="required" />
                  <xs:attribute name="hosttracking" type="xs:boolean" use="required" />
                  <xs:attribute name="authtrusted" type="xs:boolean" use="required" />
                  <xs:attribute name="hosttype" type="xs:unsignedByte" use="required" />
                  <xs:attribute name="ishost32bitonly" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="HostInstances">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="HostInstance">
                <xs:complexType>
                  <xs:attribute name="servername" type="xs:string" use="required" />
                  <xs:attribute name="hostname" type="xs:string" use="required" />
                  <xs:attribute name="username" type="xs:string" use="required" />
                  <xs:attribute name="password" type="xs:string" use="required" />
                  <xs:attribute name="startinstance" type="xs:boolean" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Adapters">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="Adapter">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ReceiveHandler">
                      <xs:complexType>
                        <xs:attribute name="hostname" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="SendHandler">
                      <xs:complexType>
                        <xs:attribute name="hostname" type="xs:string" use="required" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="name" type="xs:string" use="required" />
                  <xs:attribute name="type" type="xs:string" use="required" />
                  <xs:attribute name="comment" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>